package com.wcity.manage.dao.model.community.permit;

import java.util.Date;

/**
 * 证件类型细分
 * Created by hgg on 2016/12/14.
 */
public class PermitPartition {

    /**
     * 主键
     */
    private Integer id;

    /**
     * 关联证件类型
     */
    private Integer permitId;

    /**
     * 证件类型细分名称
     */
    private String partitionName;

    /**
     * 相关链接地址（允许为空）
     */
    private String referUrl;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 关联社区管理员用户id
     */
    private Integer userId;

    /**
     * 管理员名称
     */
    private String userName;

    public PermitPartition() {
    }

    public PermitPartition(Integer permitId, String partitionName, String referUrl, Integer userId) {
        this.permitId = permitId;
        this.partitionName = partitionName;
        this.referUrl = referUrl;
        this.userId = userId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPermitId() {
        return permitId;
    }

    public void setPermitId(Integer permitId) {
        this.permitId = permitId;
    }

    public String getPartitionName() {
        return partitionName;
    }

    public void setPartitionName(String partitionName) {
        this.partitionName = partitionName;
    }

    public String getReferUrl() {
        return referUrl;
    }

    public void setReferUrl(String referUrl) {
        this.referUrl = referUrl;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
